package fr.aracore.domotique.zapi.model.impl;

import fr.aracore.domotique.zapi.model.Sensor;

public class TraSensorDescriptor extends SensorDescriptor {

	@Override
	public String tag() {
		return "tra";
	}

	@Override
	public String libelle() {
		return "raintotal";
	}

	@Override
	public String stateDescriptionForSensor(Sensor sensor) {
		 return (Integer.parseInt(sensor.value())*100) +" mm";
	}

}
